﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Api.Models
{
    /// <summary>
    /// interview:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class interview
    {
        public interview()
        { }
        #region Model
        private int _id;
        private DateTime? _ask_time = null;
        private DateTime? _end_time = null;
        private int _how = 0;
        private string _ask_address;
        private string _b_name;
        private int _b_sex = 0;
        private int _b_age = 0;
        private string _b_code;
        private string _b_company;
        private string _b_zhiwu;
        private string _b_zhuzhi;
        private string _b_mobile;
        private string _d_name;
        private string _d_code;
        private string _d_note;
        private string _d_there;
        private string _d_company;
        private string _w_company;
        private string _w_name1;
        private string _w_name2;
        private string _w_code1;
        private string _w_code2;
        private string _w_question;
        private string _content;
        private string _d_signature;
        private string _b_signature;
        private string _j_signature;
        private DateTime? _sub_time;
        private int _instance_id = 0;
        /// <summary>
        /// 
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 询问时间
        /// </summary>
        public DateTime? ask_time
        {
            set { _ask_time = value; }
            get { return _ask_time; }
        }
        /// <summary>
        /// 询问结束时间
        /// </summary>
        public DateTime? end_time
        {
            set { _end_time = value; }
            get { return _end_time; }
        }
        /// <summary>
        /// 当前询问次数
        /// </summary>
        public int how
        {
            set { _how = value; }
            get { return _how; }
        }
        /// <summary>
        /// 询问地点
        /// </summary>
        public string ask_address
        {
            set { _ask_address = value; }
            get { return _ask_address; }
        }
        /// <summary>
        /// 被询问人姓名
        /// </summary>
        public string b_name
        {
            set { _b_name = value; }
            get { return _b_name; }
        }
        /// <summary>
        /// 被询问人性别1男2女
        /// </summary>
        public int b_sex
        {
            set { _b_sex = value; }
            get { return _b_sex; }
        }
        /// <summary>
        /// 被询问人年龄
        /// </summary>
        public int b_age
        {
            set { _b_age = value; }
            get { return _b_age; }
        }
        /// <summary>
        /// 被询问人身份证号
        /// </summary>
        public string b_code
        {
            set { _b_code = value; }
            get { return _b_code; }
        }
        /// <summary>
        /// 被询问人工作单位
        /// </summary>
        public string b_company
        {
            set { _b_company = value; }
            get { return _b_company; }
        }
        /// <summary>
        /// 被询问人职务
        /// </summary>
        public string b_zhiwu
        {
            set { _b_zhiwu = value; }
            get { return _b_zhiwu; }
        }
        /// <summary>
        /// 住址
        /// </summary>
        public string b_zhuzhi
        {
            set { _b_zhuzhi = value; }
            get { return _b_zhuzhi; }
        }
        /// <summary>
        /// 电话
        /// </summary>
        public string b_mobile
        {
            set { _b_mobile = value; }
            get { return _b_mobile; }
        }
        /// <summary>
        /// 询问（调查）人姓名
        /// </summary>
        public string d_name
        {
            set { _d_name = value; }
            get { return _d_name; }
        }
        /// <summary>
        /// 调查人证件号
        /// </summary>
        public string d_code
        {
            set { _d_code = value; }
            get { return _d_code; }
        }
        /// <summary>
        /// 记录人姓名
        /// </summary>
        public string d_note
        {
            set { _d_note = value; }
            get { return _d_note; }
        }
        /// <summary>
        /// 在场人
        /// </summary>
        public string d_there
        {
            set { _d_there = value; }
            get { return _d_there; }
        }
        /// <summary>
        /// 调查人单位及职务
        /// </summary>
        public string d_company
        {
            set { _d_company = value; }
            get { return _d_company; }
        }
        /// <summary>
        /// 调查人所在单位名称
        /// </summary>
        public string w_company
        {
            set { _w_company = value; }
            get { return _w_company; }
        }
        /// <summary>
        /// 调查人员1姓名
        /// </summary>
        public string w_name1
        {
            set { _w_name1 = value; }
            get { return _w_name1; }
        }
        /// <summary>
        /// 调查人员2姓名
        /// </summary>
        public string w_name2
        {
            set { _w_name2 = value; }
            get { return _w_name2; }
        }
        /// <summary>
        /// 调查人员1证件号
        /// </summary>
        public string w_code1
        {
            set { _w_code1 = value; }
            get { return _w_code1; }
        }
        /// <summary>
        /// 调查人员2证件号
        /// </summary>
        public string w_code2
        {
            set { _w_code2 = value; }
            get { return _w_code2; }
        }
        /// <summary>
        /// 调查问题
        /// </summary>
        public string w_question
        {
            set { _w_question = value; }
            get { return _w_question; }
        }
        /// <summary>
        /// 询问记录
        /// </summary>
        public string content
        {
            set { _content = value; }
            get { return _content; }
        }
        /// <summary>
        /// 询问人（签名）
        /// </summary>
        public string d_signature
        {
            set { _d_signature = value; }
            get { return _d_signature; }
        }
        /// <summary>
        /// 被询问人（签名）
        /// </summary>
        public string b_signature
        {
            set { _b_signature = value; }
            get { return _b_signature; }
        }
        /// <summary>
        /// 记录人（签名）
        /// </summary>
        public string j_signature
        {
            set { _j_signature = value; }
            get { return _j_signature; }
        }
        /// <summary>
        /// 处理时间
        /// </summary>
        public DateTime? sub_time
        {
            set { _sub_time = value; }
            get { return _sub_time; }
        }
        /// <summary>
        /// 实例ID
        /// </summary>
        public int instance_id
        {
            set { _instance_id = value; }
            get { return _instance_id; }
        }
        #endregion Model
    }
}
